﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using QLZJFurnitureSCM.DAL;
using QLZJFurnitureSCM.Model;

namespace QLZJFurnitureSCM.BLL
{
    public class ProductPriceChangeService
    {
        private IBaseDAO<ProductPriceChange> baseDAO = new ProductPriceChangeDAO();

        public ProductPriceChange InsertProductPriceChange(ProductPriceChange productPriceChange)
        {
            return baseDAO.Create(productPriceChange);
        }

        public List<ProductPriceChange> FindAll()
        {
            return baseDAO.ReadAll();
        }
    }
}
